package org.trade.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.trade.entity.TradeOrder;
import org.trade.entity.TradeOrderExample;

public interface TradeOrderMapper {
    long countByExample(TradeOrderExample example);

    int deleteByExample(TradeOrderExample example);

    int insert(TradeOrder record);

    int insertSelective(TradeOrder record);

    List<TradeOrder> selectByExample(TradeOrderExample example);

    int updateByExampleSelective(@Param("record") TradeOrder record, @Param("example") TradeOrderExample example);

    int updateByExample(@Param("record") TradeOrder record, @Param("example") TradeOrderExample example);

	int updateByPrimaryKey(TradeOrder record);

	int updateByPrimaryKeySelective(TradeOrder tradeOrder);
}